package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallGoodsJdDao;
import com.appkubes.mall.core.entity.MallGoodsJd;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallGoodsJdService extends AbstractBaseService<BaseMallGoodsJdDao, MallGoodsJd> {

    MallGoodsJd getOneByEntity(MallGoodsJd entity);

    List<MallGoodsJd> selectListByEntity(MallGoodsJd entity);

    IPage<MallGoodsJd> selectPageByEntity(IPage<MallGoodsJd> page);
    IPage<MallGoodsJd> selectPageByEntity(PageVO pageVO);

    IPage<MallGoodsJd> selectPageByEntity(MallGoodsJd entity, IPage<MallGoodsJd> page);
    IPage<MallGoodsJd> selectPageByEntity(MallGoodsJd entity, PageVO pageVO);

    IPage<MallGoodsJd> selectPageByEntity(MallGoodsJd entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallGoodsJd entity);
}
